package com.d0317;

public class CreateThreadImplements implements Runnable {
    @Override
    public void run() {
        System.out.println("CreateThreadImplements is running");
        System.out.println(Thread.currentThread().getName());
    }

    public static void main(String[] args) {
        Thread threadByImplement = new Thread(new CreateThreadImplements(),"ct2");//改名
        threadByImplement.start();
    }
}
